<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/23
     * Time: 10:25
     */

    namespace app\api\validate;


    class IsMobile extends BaseValidate
    {
        protected $rule=[
            'telephone' => 'require|isMobile',
        ];

        protected $message=[
            'telephone'=>'手机号码不存在或非法'
        ];
    }